package lee.vioson.remotedata.repositories

import kotlinx.coroutines.flow.Flow
import lee.vioson.remotedata.bean.Feedback
import lee.vioson.remotedata.bean.FeedbackDetail
import lee.vioson.remotedata.bean.requestbody.FeedbackBody
import lee.vioson.remotedata.bean.requestbody.UniqueRequestBody

/**
 *Author:viosonlee
 *Date:2023/6/24
 *DESCRIPTION:
 */
interface FeedbackRepository {
    fun commitFeedback(feedbackBody: FeedbackBody): Flow<String?>

    suspend fun fetchFeedbackList(uniqueRequestBody: UniqueRequestBody): List<Feedback>

    fun fetchFeedbackDetail(msgId: String): Flow<List<FeedbackDetail>>
}